package com.team.abs.service;

import java.sql.Timestamp;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.team.abs.dao.userdao;
import com.team.abs.dao.usershowdao;
import com.team.abs.entity.usershow;
//签到的业务层
@Service
public class usershowservice implements usershowdao{
	@Autowired
	private usershowdao user;

	@Override
	public List<usershow> search_by_time(Timestamp times) {
		return this.user.search_by_time(times);
	}

	@Override
	public List<usershow> search_by_in_or_leave(int inorleave) {
		return this.user.search_by_in_or_leave(inorleave);
	}

	@Override
	public List<usershow> search_by_name(String name) {
		return this.user.search_by_name(name);
	}

	@Override
	public  List<usershow> search_by_uid(String uid) {
		return this.user.search_by_uid(uid);
	}

	@Override
	public List<usershow> search_all() {
		return this.user.search_all();
	}

	@Override
	public Integer search_in(Integer inorleave) {
		return this.user.search_in(inorleave);
	}

	@Override
	public Integer inorleaveschool(usershow user) {
		return this.user.inorleaveschool(user);
	}

	@Override
	public Integer update_in_or_leave_byuid(usershow user) {
		return this.user.update_in_or_leave_byuid(user);
	}

}
